package com.hex.ds.hdrs.agent.dto;

import com.hex.ds.hdrs.app.po.AppConf;
import com.hex.ds.hdrs.cron.po.CronTask;
import com.hex.ds.hdrs.period.task.po.PeriodTask;
import lombok.Data;

import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;

@Data
public class AgentSessionResponseDto {

    private String agentCode;

    private String agentName;

    private String agentHost;

    private String agentPort;

    private String status;

    private Integer curResNum = 0;
    // 当前占用并发数
    private Integer curConcurrentNum = 0;

    private Integer resTotal = 0;

    private Integer concurrentTotal = 0;

    private Integer resUsageRate = 0;

    private Integer conUsageRate = 0;

    private List<AppConf> appConfList;

    private List<PeriodTask> periodRunningList;

    private List<CronTask> cronRunningList;

    private List<PeriodTask> deltaList;
}
